// 用户
export const userColumns = [
  {
    title: '用户昵称',
    align: 'center',
    width: '140px',
    dataIndex: 'userNickname',
  },
  {
    title: '社区id',
    align: 'center',
    width: '140px',
    dataIndex: 'communityId',
  },
  {
    title: '性别',
    align: 'center',
    width: '140px',
    dataIndex: 'sex',
  },
  {
    title: '手机号',
    align: 'center',
    width: '140px',
    dataIndex: 'phone',
  },
  {
    title: '社区注册时间',
    align: 'center',
    width: '140px',
    dataIndex: 'createTime',
    sorter: true
  },
  {
    title: '邀请人',
    align: 'center',
    width: '140px',
    dataIndex: 'inviterName',
  },
  {
    title: '发帖数',
    dataIndex: 'passContent',
    align: 'center',
    // sorter: true,
    width: '140px',
    scopedSlots: { customRender: 'passContent' },
  },
  {
    title: '粉丝数',
    align: 'center',
    width: '140px',
    dataIndex: 'fans',
    sorter: true
  },
  {
    title: '关注数',
    align: 'center',
    width: '140px',
    dataIndex: 'focus',
    sorter: true
  },
  {
    title: '互动数',
    align: 'center',
    width: '140px',
    dataIndex: 'interaction',
    sorter: true
  },
  {
    title: '账号状态',
    align: 'center',
    width: '140px',
    dataIndex: 'status',
    filterMultiple: false,
    filters: [
      { text: '正常', value: '1' },
      { text: '禁用', value: '0' }
    ],
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '参与话题',
    align: 'center',
    width: '140px',
    dataIndex: 'awardTopic',
    scopedSlots: { customRender: 'awardTopic' },
    // sorter: true
  },
  {
    title: '内容禁用数/总数',
    align: 'center',
    width: '140px',
    dataIndex: 'disabledContent',
    scopedSlots: { customRender: 'disabledContent' },
    // sorter: true
  },
  {
    title: '内容禁用率',
    align: 'center',
    width: '140px',
    dataIndex: 'disabledContentPercent',
    scopedSlots: { customRender: 'disabledContentPercent' },
    // sorter: true
  },
  {
    title: '评论禁用数/总数',
    align: 'center',
    width: '140px',
    dataIndex: 'disableComment',
    scopedSlots: { customRender: 'disableComment' },
    // sorter: true
  },
  {
    title: '评论禁用率',
    align: 'center',
    width: '140px',
    dataIndex: 'disableCommentPercent',
    scopedSlots: { customRender: 'disableCommentPercent' },
    // sorter: true
  },
  {
    title: '账号禁用次数',
    align: 'center',
    width: '140px',
    dataIndex: 'totalAccountDisable',
    scopedSlots: { customRender: 'totalAccountDisable' },
    sorter: true
  },
  {
    title: '操作',
    width: 200,
    align: 'center',
    fixed: 'right',
    scopedSlots: { customRender: 'action' }
  }
]

// 导购
export const guideColumns = [
  {
    title: '用户昵称',
    align: 'center',
    width: '140px',
    dataIndex: 'userNickname',
  },
  {
    title: '姓名',
    align: 'center',
    width: '140px',
    dataIndex: 'userName',
  },
  {
    title: '社区id',
    align: 'center',
    width: '140px',
    dataIndex: 'communityId',
  },
  {
    title: '性别',
    align: 'center',
    width: '140px',
    dataIndex: 'sex',
  },
  {
    title: '手机号',
    align: 'center',
    width: '140px',
    dataIndex: 'phone',
  },
  {
    title: '社区注册时间',
    align: 'center',
    width: '140px',
    dataIndex: 'createTime',
    sorter: true
  },
  {
    title: '邀请人',
    align: 'center',
    width: '140px',
    dataIndex: 'inviterName',
  },
  {
    title: '内容推广权限',
    align: 'center',
    width: '140px',
    dataIndex: 'isPromote',
    filterMultiple: false,
    filters: [
      { text: '允许', value: '0' },
      { text: '不允许', value: '1' }
    ],
    scopedSlots: { customRender: 'isPromote' },
  },
  {
    title: '发帖数',
    dataIndex: 'passContent',
    align: 'center',
    // sorter: true,
    width: '140px',
    scopedSlots: { customRender: 'passContent' },
  },
  {
    title: '粉丝数',
    align: 'center',
    width: '140px',
    dataIndex: 'fans',
    sorter: true
  },
  {
    title: '关注数',
    align: 'center',
    width: '140px',
    dataIndex: 'focus',
    sorter: true
  },
  {
    title: '互动数',
    align: 'center',
    width: '140px',
    dataIndex: 'interaction',
    sorter: true
  },
  {
    title: '账号状态',
    align: 'center',
    width: '140px',
    dataIndex: 'status',
    filterMultiple: false,
    filters: [
      { text: '正常', value: '1' },
      { text: '禁用', value: '0' }
    ],
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '参与话题',
    align: 'center',
    width: '140px',
    dataIndex: 'awardTopic',
    scopedSlots: { customRender: 'awardTopic' },
    // sorter: true
  },
  {
    title: '内容禁用数/总数',
    align: 'center',
    width: '140px',
    dataIndex: 'disabledContent',
    scopedSlots: { customRender: 'disabledContent' },
    // sorter: true
  },
  {
    title: '内容禁用率',
    align: 'center',
    width: '140px',
    dataIndex: 'disabledContentPercent',
    scopedSlots: { customRender: 'disabledContentPercent' },
    // sorter: true
  },
  {
    title: '评论禁用数/总数',
    align: 'center',
    width: '140px',
    dataIndex: 'disableComment',
    scopedSlots: { customRender: 'disableComment' },
    // sorter: true
  },
  {
    title: '评论禁用率',
    align: 'center',
    width: '140px',
    dataIndex: 'disableCommentPercent',
    scopedSlots: { customRender: 'disableCommentPercent' },
    // sorter: true
  },
  {
    title: '账号禁用次数',
    align: 'center',
    width: '140px',
    dataIndex: 'totalAccountDisable',
    scopedSlots: { customRender: 'totalAccountDisable' },
    sorter: true
  },
  {
    title: '操作',
    width: 200,
    align: 'center',
    fixed: 'right',
    scopedSlots: { customRender: 'action' }
  }
]

// 创作者

export const creatorColumns = [
  {
    title: '用户昵称',
    align: 'center',
    width: '140px',
    dataIndex: 'userNickname',
  },
  {
    title: '姓名',
    align: 'center',
    width: '140px',
    dataIndex: 'userName',
  },
  {
    title: '社区id',
    align: 'center',
    width: '140px',
    dataIndex: 'communityId',
  },
  {
    title: '性别',
    align: 'center',
    width: '140px',
    dataIndex: 'sex',
  },
  {
    title: '身份标识',
    align: 'center',
    width: '140px',
    dataIndex: 'identityName',
  },
  {
    title: '手机号',
    align: 'center',
    width: '140px',
    dataIndex: 'phone',
  },
  {
    title: '社区注册时间',
    align: 'center',
    width: '140px',
    dataIndex: 'createTime',
    sorter: true
  },
  {
    title: '邀请人',
    align: 'center',
    width: '140px',
    dataIndex: 'inviterName',
  },
  {
    title: '内容推广权限',
    align: 'center',
    width: '140px',
    dataIndex: 'isPromote',
    filterMultiple: false,
    filters: [
      { text: '允许', value: '0' },
      { text: '不允许', value: '1' }
    ],
    scopedSlots: { customRender: 'isPromote' },
  },
  {
    title: '发帖数',
    dataIndex: 'passContent',
    align: 'center',
    // sorter: true,
    width: '140px',
    scopedSlots: { customRender: 'passContent' },
  },
  {
    title: '粉丝数',
    align: 'center',
    width: '140px',
    dataIndex: 'fans',
    sorter: true
  },
  {
    title: '关注数',
    align: 'center',
    width: '140px',
    dataIndex: 'focus',
    sorter: true
  },
  {
    title: '互动数',
    align: 'center',
    width: '140px',
    dataIndex: 'interaction',
    sorter: true
  },
  {
    title: '账号状态',
    align: 'center',
    width: '140px',
    dataIndex: 'status',
    filterMultiple: false,
    filters: [
      { text: '正常', value: '1' },
      { text: '禁用', value: '0' }
    ],
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '参与话题',
    align: 'center',
    width: '140px',
    dataIndex: 'awardTopic',
    scopedSlots: { customRender: 'awardTopic' },
    // sorter: true
  },
  {
    title: '内容禁用数/总数',
    align: 'center',
    width: '140px',
    dataIndex: 'disabledContent',
    scopedSlots: { customRender: 'disabledContent' },
    // sorter: true
  },
  {
    title: '内容禁用率',
    align: 'center',
    width: '140px',
    dataIndex: 'disabledContentPercent',
    scopedSlots: { customRender: 'disabledContentPercent' },
    // sorter: true
  },
  {
    title: '评论禁用数/总数',
    align: 'center',
    width: '140px',
    dataIndex: 'disableComment',
    scopedSlots: { customRender: 'disableComment' },
    // sorter: true
  },
  {
    title: '评论禁用率',
    align: 'center',
    width: '140px',
    dataIndex: 'disableCommentPercent',
    scopedSlots: { customRender: 'disableCommentPercent' },
    // sorter: true
  },
  {
    title: '账号禁用次数',
    align: 'center',
    width: '140px',
    dataIndex: 'totalAccountDisable',
    scopedSlots: { customRender: 'totalAccountDisable' },
    sorter: true
  },
  {
    title: '操作',
    width: 200,
    align: 'center',
    fixed: 'right',
    scopedSlots: { customRender: 'action' }
  }
]

// 官方账号
export const officialColumns = [
  {
    title: '用户昵称',
    align: 'center',
    width: '140px',
    dataIndex: 'userNickname',
  },
  {
    title: '社区id',
    align: 'center',
    width: '140px',
    dataIndex: 'communityId',
  },
  {
    title: '社区注册时间',
    align: 'center',
    width: '140px',
    dataIndex: 'createTime',
    sorter: true
  },
  {
    title: '发帖数',
    dataIndex: 'passContent',
    align: 'center',
    // sorter: true,
    width: '140px',
    scopedSlots: { customRender: 'passContent' },
  },
  {
    title: '粉丝数',
    align: 'center',
    width: '140px',
    dataIndex: 'fans',
    sorter: true
  },
  {
    title: '关注数',
    align: 'center',
    width: '140px',
    dataIndex: 'focus',
    sorter: true
  },
  {
    title: '互动数',
    align: 'center',
    width: '140px',
    dataIndex: 'interaction',
    sorter: true
  },
  {
    title: '账号状态',
    align: 'center',
    width: '140px',
    dataIndex: 'status',
    filterMultiple: false,
    filters: [
      { text: '正常', value: '1' },
      { text: '禁用', value: '0' }
    ],
    scopedSlots: { customRender: 'status' },
  },
  {
    title: '参与话题',
    align: 'center',
    width: '140px',
    dataIndex: 'awardTopic',
    scopedSlots: { customRender: 'awardTopic' },
    // sorter: true
  },
  {
    title: '操作',
    width: 200,
    align: 'center',
    fixed: 'right',
    scopedSlots: { customRender: 'action' }
  }
]